home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / stk-3.0 / stk-3 / blt-for-STk-3.0 / README < prev   
Encoding:
Text File  |  1995-12-26  |  3.3 KB  |  101 lines

  1. This directory contains patches for running components of the BLT package with
  2. STk and a set of Demos.
  3.  
  4. This is very minimal. I've done it to prove it can be done. However, I'm not using 
  5. it and I have not tested it a lot. In particular, this package needs more demos
  6. (only the simplest things have been translated from Tcl to STk). 
  7. If someone is interested in this package and write more flashy demos or adapt 
  8. the original ones for STk, I would be happy to integrate them in this package. 
  9.  
  10.  
  11.  
  12. What is BLT?
  13. ------------
  14. It is an extension to the Tk toolkit. Original BLT  works with Tcl/Tk.
  15. The BLT toolkit contains the following widgets/commands:
  16.  
  17.     1) Drag-n-drop command: blt_drag&drop
  18.         Updated version of Michael McLennan's drag and drop command
  19.         (it's still maintained by Michael). 
  20.  
  21.     2) Hypertext widget: blt_htext
  22.         Allows text and Tk widgets to combined in a single scroll-able 
  23.         window.
  24.  
  25.     3) Busy window: blt_busy
  26.         For handling user-interaction when the application is "busy".
  27.         Manages an invisible "busy" window which prevents further 
  28.         user device (keyboard, mouse, button, etc.) interactions.
  29.         Also provides a different cursor which supersedes application
  30.         cursors.
  31.  
  32.     4) Bitmap command: blt_bitmap
  33.         Lets you read and write bitmaps from Tcl. Can define X bitmaps  
  34.         and create bitmaps from text strings.  Other options query any 
  35.         loaded X bitmap.
  36.  
  37.     5) Background "exec" command: blt_bgexec
  38.         Like "exec ... &", but collects the output of the detached 
  39.         UNIX subprocesses and sets a Tcl variable upon their completion.
  40.         Can be used with "tkwait variable" to handle application's 
  41.         expose events, etc. while waiting for subprocesses to finish.  
  42.  
  43.     6) Table geometry manager: blt_table
  44.         Specify window placements as table row,column positions. Also
  45.         has many options for placing constraints on window resizes.
  46.  
  47.     7) Barchart widget: blt_barchart
  48.  
  49.     8) XY graph widget: blt_graph
  50.  
  51.     9) Window option command: blt_win
  52.         Lets you raise, lower, map, or, unmap any window.  
  53.  
  54.     10) Watch commands: blt_watch
  55.         Lets you specify Tcl procedures to be run before and/or
  56.         after every Tcl command.  May be used for logging,
  57.         tracing, profiling, or debugging or Tcl code.
  58.  
  59.     11) Simple command trace: blt_debug
  60.         Simply prints out each Tcl command before it's executed.  
  61.  
  62.     12) Cutbuffer and bell commands: blt_cutbuffer, blt_bell
  63.         The commands are derived from the "bellcut" extensions and are 
  64.         provided as a convenience.  Credit should go to the author(s) 
  65.         (I can't remember who they are. Sorry) for this work.
  66.     
  67. Widgets which exist in BLT but which are not implemented in STk3.0 are:
  68.     - blt_htext
  69.     - blt_bgexec
  70.     - blt_watch
  71.     - blt_debug
  72.  
  73. Installation
  74. ------------
  75.  
  76. 1. Uncompress and untar the distribution file in the STk directory. The directory
  77.    blt-1.9-for-stk must be at the same level as Src, STklos, Tcl or Tk.
  78.  
  79. 2. Go in the blt-1.9-for-stk directory
  80.  
  81.     cd blt-1.9-for-stk 
  82.  
  83. 3. Run configure with
  84.     
  85.        ./configure 
  86.  
  87.    Note: this will run configure shell script in the blt-1.9-for-stk. and in the
  88.  
  89. 4. Compile the library with
  90.  
  91.     make 
  92.  
  93.    This builds the dinamically loadable library in the blt-1.9-for-stk (No support
  94.    for static library is provided with this version).
  95.    
  96.  
  97. 5. Demos programs are in the  blt-1.9-for-stk/Demos directory 
  98.  
  99.  
  100. Enjoy
  101.